home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
winlib1.zip
/
EXAMPLES.ZIP
/
EXAM130.C
< prev
next >
Wrap
Text File
|
1991-01-05
|
809b
|
23 lines
#include <window.h>
VIDEO_CONFIG v;
main()
{
WindowInitializeSystem();
/* Get video information */
ClearScreen(CREATE_VIDEO_ATTRIBUTE(black,white));
GetVideoBiosInfo(&v);
VideoPrintf("The video mode is %d\n"
"The starting scan line of the cursor is %d\n"
"The ending scan line of the cursor is %d \n"
"The video page is %d\n"
"The size of the video page is %d\n"
"The number of rows is %d\n"
"The number of columns is %d\n"
"The height of the characters is %d\n",
v.video_mode, v.cursor_startline, v.cursor_endline,
v.video_page, v.video_pagesize, v.video_rows, v.video_cols,
v.char_height);
}